Optimal. Leaf size=1027 \[ -\frac {15 i a \sqrt {a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3 c^3}{4 \sqrt {a^2 c x^2+c}}-\frac {11 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {6 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {6 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {45 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right ) c^3}{8 \sqrt {a^2 c x^2+c}}-\frac {45 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right ) c^3}{8 \sqrt {a^2 c x^2+c}}-\frac {6 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {11 i a \sqrt {a^2 x^2+1} \text {Li}_2\left (-\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{2 \sqrt {a^2 c x^2+c}}-\frac {11 i a \sqrt {a^2 x^2+1} \text {Li}_2\left (\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{2 \sqrt {a^2 c x^2+c}}-\frac {6 a \sqrt {a^2 x^2+1} \text {Li}_3\left (-e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {45 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {45 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {6 a \sqrt {a^2 x^2+1} \text {Li}_3\left (e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {45 i a \sqrt {a^2 x^2+1} \text {Li}_4\left (-i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {45 i a \sqrt {a^2 x^2+1} \text {Li}_4\left (i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {7}{8} a^2 x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3 c^2-\frac {\sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3 c^2}{x}-\frac {21}{8} a \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^2 c^2+\frac {1}{4} a^2 x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x) c^2-\frac {1}{4} a \sqrt {a^2 c x^2+c} c^2+\frac {1}{4} a^2 x \left (a^2 c x^2+c\right )^{3/2} \tan ^{-1}(a x)^3 c-\frac {1}{4} a \left (a^2 c x^2+c\right )^{3/2} \tan ^{-1}(a x)^2 c \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 2.11, antiderivative size = 1027, normalized size of antiderivative = 1.00, number of steps used = 56, number of rules used = 15, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {4950, 4944, 4958, 4956, 4183, 2531, 2282, 6589, 4890, 4888, 4181, 6609, 4880, 4886, 4878} \[ -\frac {15 i a \sqrt {a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3 c^3}{4 \sqrt {a^2 c x^2+c}}-\frac {11 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {6 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {6 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {PolyLog}\left (2,-e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {45 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \text {PolyLog}\left (2,-i e^{i \tan ^{-1}(a x)}\right ) c^3}{8 \sqrt {a^2 c x^2+c}}-\frac {45 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x)^2 \text {PolyLog}\left (2,i e^{i \tan ^{-1}(a x)}\right ) c^3}{8 \sqrt {a^2 c x^2+c}}-\frac {6 i a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {PolyLog}\left (2,e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}+\frac {11 i a \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,-\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{2 \sqrt {a^2 c x^2+c}}-\frac {11 i a \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) c^3}{2 \sqrt {a^2 c x^2+c}}-\frac {6 a \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,-e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {45 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {PolyLog}\left (3,-i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {45 a \sqrt {a^2 x^2+1} \tan ^{-1}(a x) \text {PolyLog}\left (3,i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {6 a \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,e^{i \tan ^{-1}(a x)}\right ) c^3}{\sqrt {a^2 c x^2+c}}-\frac {45 i a \sqrt {a^2 x^2+1} \text {PolyLog}\left (4,-i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {45 i a \sqrt {a^2 x^2+1} \text {PolyLog}\left (4,i e^{i \tan ^{-1}(a x)}\right ) c^3}{4 \sqrt {a^2 c x^2+c}}+\frac {7}{8} a^2 x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3 c^2-\frac {\sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3 c^2}{x}-\frac {21}{8} a \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^2 c^2+\frac {1}{4} a^2 x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x) c^2-\frac {1}{4} a \sqrt {a^2 c x^2+c} c^2+\frac {1}{4} a^2 x \left (a^2 c x^2+c\right )^{3/2} \tan ^{-1}(a x)^3 c-\frac {1}{4} a \left (a^2 c x^2+c\right )^{3/2} \tan ^{-1}(a x)^2 c \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2531
Rule 4181
Rule 4183
Rule 4878
Rule 4880
Rule 4886
Rule 4888
Rule 4890
Rule 4944
Rule 4950
Rule 4956
Rule 4958
Rule 6589
Rule 6609
Rubi steps
\begin {align*} \int \frac {\left (c+a^2 c x^2\right )^{5/2} \tan ^{-1}(a x)^3}{x^2} \, dx &=c \int \frac {\left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3}{x^2} \, dx+\left (a^2 c\right ) \int \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3 \, dx\\ &=-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3+c^2 \int \frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x^2} \, dx+\frac {1}{2} \left (a^2 c^2\right ) \int \sqrt {c+a^2 c x^2} \tan ^{-1}(a x) \, dx+\frac {1}{4} \left (3 a^2 c^2\right ) \int \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3 \, dx+\left (a^2 c^2\right ) \int \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3 \, dx\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3+c^3 \int \frac {\tan ^{-1}(a x)^3}{x^2 \sqrt {c+a^2 c x^2}} \, dx+\frac {1}{4} \left (a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {c+a^2 c x^2}} \, dx+\frac {1}{8} \left (3 a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}} \, dx+\frac {1}{2} \left (a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}} \, dx+\left (a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}} \, dx+\frac {1}{4} \left (9 a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {c+a^2 c x^2}} \, dx+\left (3 a^2 c^3\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {c+a^2 c x^2}} \, dx\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3+\left (3 a c^3\right ) \int \frac {\tan ^{-1}(a x)^2}{x \sqrt {c+a^2 c x^2}} \, dx+\frac {\left (a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{4 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {1+a^2 x^2}} \, dx}{8 \sqrt {c+a^2 c x^2}}+\frac {\left (a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {1+a^2 x^2}} \, dx}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}+\frac {\left (9 a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{4 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a^2 c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^3 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{8 \sqrt {c+a^2 c x^2}}+\frac {\left (a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^3 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^3 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^2}{x \sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {15 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{4 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {\left (9 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{8 \sqrt {c+a^2 c x^2}}+\frac {\left (9 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \csc (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {15 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{4 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {\left (9 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {\left (9 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{4 \sqrt {c+a^2 c x^2}}-\frac {\left (3 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \log \left (1-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \log \left (1+e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {15 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{4 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_2\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_2\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (9 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{4 \sqrt {c+a^2 c x^2}}-\frac {\left (9 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {15 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{4 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}-\frac {\left (9 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {\left (9 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}-\frac {\left (3 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2(-x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^3 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2(x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {1}{4} a c^2 \sqrt {c+a^2 c x^2}+\frac {1}{4} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)-\frac {21}{8} a c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {1}{4} a c \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2-\frac {c^2 \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {7}{8} a^2 c^2 x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\frac {1}{4} a^2 c x \left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3-\frac {15 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{4 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {45 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{8 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {11 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {6 a c^3 \sqrt {1+a^2 x^2} \text {Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {45 a c^3 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {6 a c^3 \sqrt {1+a^2 x^2} \text {Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {45 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_4\left (-i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}+\frac {45 i a c^3 \sqrt {1+a^2 x^2} \text {Li}_4\left (i e^{i \tan ^{-1}(a x)}\right )}{4 \sqrt {c+a^2 c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 15.55, size = 3267, normalized size = 3.18 \[ \text {Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.57, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (a^{4} c^{2} x^{4} + 2 \, a^{2} c^{2} x^{2} + c^{2}\right )} \sqrt {a^{2} c x^{2} + c} \arctan \left (a x\right )^{3}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.41, size = 655, normalized size = 0.64 \[ \frac {c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (2 \arctan \left (a x \right )^{3} x^{4} a^{4}-2 \arctan \left (a x \right )^{2} x^{3} a^{3}+9 \arctan \left (a x \right )^{3} x^{2} a^{2}+2 \arctan \left (a x \right ) a^{2} x^{2}-23 \arctan \left (a x \right )^{2} x a -8 \arctan \left (a x \right )^{3}-2 a x \right )}{8 x}+\frac {i a \,c^{2} \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (15 i \arctan \left (a x \right )^{3} \ln \left (1+\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+48 i \polylog \left (3, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-90 i \arctan \left (a x \right ) \polylog \left (3, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+24 i \arctan \left (a x \right )^{2} \ln \left (1+\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-44 i \arctan \left (a x \right ) \ln \left (1-\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-45 \arctan \left (a x \right )^{2} \polylog \left (2, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+90 i \arctan \left (a x \right ) \polylog \left (3, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+45 \arctan \left (a x \right )^{2} \polylog \left (2, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+44 i \arctan \left (a x \right ) \ln \left (1+\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-48 i \polylog \left (3, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-48 \arctan \left (a x \right ) \polylog \left (2, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-15 i \arctan \left (a x \right )^{3} \ln \left (1-\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+48 \arctan \left (a x \right ) \polylog \left (2, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-24 i \arctan \left (a x \right )^{2} \ln \left (1-\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-44 \polylog \left (2, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+44 \polylog \left (2, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-90 \polylog \left (4, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+90 \polylog \left (4, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )\right )}{8 \sqrt {a^{2} x^{2}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (a^{2} c x^{2} + c\right )}^{\frac {5}{2}} \arctan \left (a x\right )^{3}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\mathrm {atan}\left (a\,x\right )}^3\,{\left (c\,a^2\,x^2+c\right )}^{5/2}}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {5}{2}} \operatorname {atan}^{3}{\left (a x \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________